home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000095_fdc@columbia.edu_Sat Nov 16 13:12:37 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  59 lines

  1. Article: 13861 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: funny thing
  6. Date: 16 Nov 2002 13:12:15 -0500
  7. Organization: Columbia University
  8. Lines: 42
  9. Message-ID: <ar61pv$631$1@watsol.cc.columbia.edu>
  10. References: <l8vB9.422$9c.53465@news2.voicenet.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1037470337 12778 128.59.39.139 (16 Nov 2002 18:12:17 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 16 Nov 2002 18:12:17 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13861
  16.  
  17. In article <l8vB9.422$9c.53465@news2.voicenet.com>,
  18. Christopher Mosley  <cmosley@unix01.voicenet.com> wrote:
  19. :  Can't download files named con or con.*** (con.anything)
  20. :  they are written to the screen. I am guessing it has something to do
  21. :  with "console" This happens when i use kermit -s file or use kermit
  22. :  interactively. I am downloading from SunOS 5.8 ckermit to
  23. :  mskermit. 
  24. :  
  25. It's a feature of DOS (and Windows).  The same thing happens with other
  26. DOS device names: PRN, LPT, etc.
  27.  
  28. If you were using Kermit 95, you'd get a popup saying:
  29.  
  30.   con
  31.   This file name is a reserved device name.
  32.   Please choose another name.
  33.  
  34. and a Save As dialog to let you specify a different name (as long as
  35. FILE AUTODOWNLOAD was set to its default value of ASK).  For unattended
  36. batch transfers, however, it could be problem.
  37.  
  38. I believe the only way around this is to have Kermit rename the file
  39. as part of the transfer process, because you just plain can't have disk
  40. file called "con" or con-dot-anything.  The renaming can be accomplished
  41. at either the sending end or the receiving end with as-names, either
  42. on the command line:
  43.  
  44.   kermit -s con -a x.con
  45.  
  46. or in the command language:
  47.  
  48.   send con x.con
  49.  
  50. or:
  51.  
  52.   send /as-name:x.con con
  53.  
  54. or with templates, which are explained here:
  55.  
  56.   http://www.columbia.edu/kermit/ckermit70.html#x4.1
  57.  
  58. - Frank
  59.